package com.wjh.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.wjh.order.entity.OrderDetailEntity;

/**
 * 订单明细Mapper
 * 
 * @author wenjianhai
 * @date 2023/6/22
 * @since JDK 17
 */
@Mapper
public interface IOrderDetailMapper {

	void save(OrderDetailEntity detail);

	void batchSave(@Param("list") List<OrderDetailEntity> list);

	void updatePayState(@Param("id") Long id, @Param("payState") Integer payState);

	List<OrderDetailEntity> queryByOrderGuid(String orderGuid);
}
